Average sentence length |
---|
17.1241 |
sentence length | percentage |
---|---|
2 | 0.0170 |
3 | 0.6170 |
4 | 1.8170 |
5 | 2.6250 |
6 | 3.4190 |
7 | 3.9670 |
8 | 4.3170 |
9 | 4.4110 |
10 | 4.6820 |
11 | 4.7960 |
12 | 4.6510 |
13 | 4.8510 |
14 | 4.6270 |
15 | 4.5690 |
16 | 4.2440 |
17 | 4.1460 |
18 | 3.9110 |
19 | 3.8290 |
20 | 3.4010 |
21 | 3.2570 |
22 | 2.9560 |
23 | 2.7620 |
24 | 2.5170 |
25 | 2.2620 |
26 | 2.1000 |
27 | 1.8090 |
28 | 1.7300 |
29 | 1.5360 |
30 | 1.3990 |
31 | 1.2200 |
32 | 1.1070 |
33 | 0.9990 |
34 | 0.8160 |
35 | 0.7770 |
36 | 0.6660 |
37 | 0.5910 |
38 | 0.4990 |
39 | 0.4680 |
40 | 0.3740 |
41 | 0.3150 |
42 | 0.2440 |
43 | 0.1780 |
44 | 0.1320 |
45 | 0.0940 |
46 | 0.1050 |
47 | 0.0750 |
48 | 0.0550 |
49 | 0.0300 |
50 | 0.0300 |
Next we measure the length of a sentence by its number of words. Again, we are interested in average length and length distribution.
See above.
For simplicity, the number of words in a sentence is calculated as 1+(Number of blanks in the sentence).
Average length:
select avg(1+char_length(sentence)-char_length( replace(sentence," ",""))) from sentences;
Distribution:
SELECT @all:=count(*) from sentences;
select 1+char_length(sentence)-char_length( replace(sentence," ","")), 100*count(*)/@all from sentences where 50>=1+char_length(sentence)-char_length(replace(sentence," ",""))group by 1+char_length(sentence)-char_length( replace( sentence," ",""));
4.2.1 Length of sentences in characters